package com.tanker.service;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author xqxue
 * @time 2018年1月17日 下午3:26:01
 */
@Component
public class CpicInsuranceConfig {
    @Value("${cpic_message_router}")
    private String messageRouter;
    @Value("${cpic_partneer_code}")
    private String partnerCode;
    @Value("${cpic_document_protocol}")
    private String documentProtocol;
    @Value("${cpic_target_url}")
    private String targetURL;
    @Value("${cpic_cer_path}")
    private String cerPath;
    @Value("${cpic_cer_password}")
    private String cerPassword;

    @Value("${cpic_user}")
    private String cpicUser;
    @Value("${cpic_password}")
    private String cpicPassword;
    @Value("${cpic_apltName}")
    private String apltName;
    @Value("${cpic_elcEmail}")
    private String elcEmail;
    @Value("${cpic_apltCretCode}")
    private String apltCretCode;
    
    //@Value("${com.autoyol.mns.queue.auto-submit-cpic-queue}")
    //private String queueName;

    public String getMessageRouter() {
		return messageRouter;
	}

	public void setMessageRouter(String messageRouter) {
		this.messageRouter = messageRouter;
	}

	public String getPartnerCode() {
		return partnerCode;
	}

	public void setPartnerCode(String partnerCode) {
		this.partnerCode = partnerCode;
	}

	public String getDocumentProtocol() {
		return documentProtocol;
	}

	public void setDocumentProtocol(String documentProtocol) {
		this.documentProtocol = documentProtocol;
	}

	public String getTargetURL() {
		return targetURL;
	}

	public void setTargetURL(String targetURL) {
		this.targetURL = targetURL;
	}

	public String getCerPath() {
		return cerPath;
	}

	public void setCerPath(String cerPath) {
		this.cerPath = cerPath;
	}

	public String getCerPassword() {
		return cerPassword;
	}

	public void setCerPassword(String cerPassword) {
		this.cerPassword = cerPassword;
	}

	public String getCpicUser() {
		return cpicUser;
	}

	public void setCpicUser(String cpicUser) {
		this.cpicUser = cpicUser;
	}

	public String getCpicPassword() {
		return cpicPassword;
	}

	public void setCpicPassword(String cpicPassword) {
		this.cpicPassword = cpicPassword;
	}

	public String getApltName() {
		return apltName;
	}

	public void setApltName(String apltName) {
		this.apltName = apltName;
	}

	public String getElcEmail() {
		return elcEmail;
	}

	public void setElcEmail(String elcEmail) {
		this.elcEmail = elcEmail;
	}

	public String getApltCretCode() {
		return apltCretCode;
	}

	public void setApltCretCode(String apltCretCode) {
		this.apltCretCode = apltCretCode;
	}

	@Override
    public String toString() {
        return "CpicInsuranceConfig{" +
            "messageRouter='" + messageRouter + '\'' +
            ", partnerCode='" + partnerCode + '\'' +
            ", documentProtocol='" + documentProtocol + '\'' +
            ", targetURL='" + targetURL + '\'' +
            ", cerPath='" + cerPath + '\'' +
            ", cerPassword='" + cerPassword + '\'' +
            ", cpicUser='" + cpicUser + '\'' +
            ", cpicPassword='" + cpicPassword + '\'' +
            ", apltName='" + apltName + '\'' +
            ", elcEmail='" + elcEmail + '\'' +
            ", apltCretCode='" + apltCretCode + '\'' +
            '}';
    }
}